{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- <link rel="stylesheet" href="style.css"> -->
    <title>心语WIT - 登录</title>
    <style>
        * {
            padding: 0;
            margin: 0;

        }

        .content {
            width: 100vw;
            height: 100vh;
            position: relative;
            margin: 0;
            min-height: 100vh;
            background-color: #f0b7a2c5;
            background-image: radial-gradient(closest-side, #e8b0b4, rgba(235, 105, 78, 0)), radial-gradient(closest-side, rgba(233, 135, 96, 0.586), rgba(243, 11, 164, 0)), radial-gradient(closest-side, rgb(243, 219, 166), rgba(254, 234, 131, 0)), radial-gradient(closest-side, rgba(240, 217, 178, 0.764), rgba(170, 142, 245, 0)), radial-gradient(closest-side, rgb(247, 197, 157), rgba(248, 192, 147, 0));
            background-size: 130vmax 130vmax, 80vmax 80vmax, 90vmax 90vmax, 110vmax 110vmax, 90vmax 90vmax;
            background-position: -80vmax -80vmax, 60vmax -30vmax, 10vmax 10vmax, -30vmax -10vmax, 50vmax 50vmax;
            background-repeat: no-repeat;
            animation: 10s movement linear infinite;
        }

        .content .box {
            width: 70%;
            height: 75%;
            background-color: #fff;
            border-radius: 30px;
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        .content .box .left {
            width: 45%;
            border-radius: 30px 0 0 30px;
            background-color: rgba(234, 145, 126, 0.846);
            height: 100%;
            position: absolute;
            padding: 40px;
            box-sizing: border-box;
            color: #fff;
            font-size: 25px;
            font-weight: 100;
        }

        .content .box .left .left-tips {
            position: relative;
            top: 5px;
            font-size: 20px;
            font-weight: bold;
            font-family: "Times New Roman", Times, serif;
        }

        .content .box .left .box3D {
            position: absolute;
            width: 70vw;
            height: 65.5vh;
            z-index: 1;
            left: -65%;
            top: 13%;
            bottom: 1px;


        }

        .content .box .right {
            width: 59%;
            border-radius: 50px 30px 30px 50px;
            position: absolute;
            right: 0;
            height: 100%;
            background-color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .content .box .right .login-wrapper {
            width: 60%;
            position: relative;
            z-index: 2;
        }

        .content .box .right .login-wrapper h1 {
            font-size: 40px;
            margin-bottom: 10px;
            font-weight: bold;
            text-align: center;
        }

        .content .box .right .login-wrapper .create-tips {
            margin: 20px 0;
        }

        .content .box .right .login-wrapper .other-login {
            display: flex;
            justify-content: center;
            margin: 20px 0;
        }

        .content .box .right .login-wrapper .other-login .qq-login {
            margin-right: 10px;
        }

        .content .box .right .login-wrapper .other-login .webchat-login {
            margin-left: 10px;
        }

        .content .box .right .login-wrapper .other-login .other-login-items {
            width: 100%;
            height: 50px;
            border-radius: 10px;
            border: 1px solid #d8d8d8;
            text-align: center;
            vertical-align: middle;
            padding-top: 5px;
            box-sizing: border-box;
            transition: 0.3s;
            cursor: pointer;
        }

        .content .box .right .login-wrapper .other-login .other-login-items img {
            width: 35px;
            height: 35px;
            vertical-align: middle;
        }

        .content .box .right .login-wrapper .other-login .other-login-items:hover {
            border: 1px solid rgba(241, 159, 140, 0.877);
        }

        .content .box .right .login-wrapper .form-wrapper {
            position: relative;
            z-index: 3;
        }

        .content .box .right .login-wrapper .form-wrapper .inputs {
            width: 100%;
            height: 55px;
            border: 0;
            border-bottom: 1px solid #6b6b6b;
            margin-top: 0;
            margin-bottom: 20;
            padding: 20px;
            box-sizing: border-box;
            outline: none;
            letter-spacing: 2px;
            font-weight: bold;
            font-size: 22px;
            transition: 0.3s;
        }

        .content .box .right .login-wrapper .form-wrapper .inputs:focus {
            border-bottom: 1px solid rgba(241, 159, 140, 0.846);
        }

        .content .box .right .login-wrapper .form-wrapper .btn {
            width: 100%;
            height: 55px;
            border-radius: 15px;
            font-size: 25px;
            color: #fff;
            background-color: rgb(230, 154, 142);
            border: 0;
            cursor: pointer;
            margin: 20px 0;
            transition: 0.3s;
            font-weight: bold;
        }

        .content .box .right .login-wrapper .form-wrapper .btn:hover {
            background-color: rgba(234, 145, 126, 0.846);
        }

        .content .box .right .login-wrapper .form-wrapper .tips {
            font-size: 15px;

        }

        .content .box .right .login-wrapper .form-wrapper .tips span:last-child {
            color: rgba(230, 123, 107, 0.942);
            cursor: pointer;
            transition: 0.3s;
        }

        .content .box .right .login-wrapper .form-wrapper .tips span:last-child:hover {
            color: rgb(237, 148, 128);
        }
    </style>
</head>
<body>
<div class="content">
    <div class="box">
        <div class="left">
            <div>
                <div class="left-tips">Video Voice Intelligence Treatment</div>
                <div class="left-tips">心语相伴，以智疗心，听见你的声音</div>
                <div>
                    <iframe src='https://my.spline.design/hands3duicopy-de42d37ecd5df4348b21a4ed50bdbb39/' frameborder=0
                            class="box3D"></iframe>
                </div>
            </div>
        </div>
        <div class="right">
            <div class="login-wrapper">
                <h1>登 录</h1>
                <div style="color: rgb(65, 63, 63);">
                    欢迎来到心语! 您可以通过这个界面登录到系统，也可以选择其他的登录方式
                </div>
                <div class="other-login">
                    <div class="other-login-items  qq-login">
                        <img src="{% static 'img/QQ.png' %}" alt="QQ">
                        <span>使用QQ登录</span>
                    </div>
                    <div class="other-login-items  wechat-login">
                        <img src="{% static 'img/WeChat.png' %}" alt="微信">
                        <span>使用微信登录</span>
                    </div>
                </div>
                <div class="form-wrapper">
                    <form method="post" novalidate>
                        {% csrf_token %}
                        <div>
                            {{ form.username }}
                            <span style="color: red">{{ form.username.errors.0 }}</span>
                        </div>
                        <div>
                            {{ form.password }}
                            <span style="color: red">{{ form.password.errors.0 }}</span>
                        </div>
                        <button class="btn">登 录</button>
                    </form>
                    <div class="tips">
                        <span>没有账号？</span>
                        <span>请注册</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>


</html>